#!/usr/bin/python
# -*-coding:UTF-8 -*-

# ========================
# @Time  : 2021/1/21
# @Author: Sunny
# ========================

#4、注释的规范
"""
1.行业注释
2.文档字符串注释,文档字符串注释有模块级别，类级别，方法级别
"""

import requests
from requests import get


name = '木森'  # 名字

# 年龄
age = 18


# 查看模块的文档字符串注释
print(requests.__doc__)


#函数级别的文档注释
def func(name, age, gender):
    """
    自定义演示文档字符串的函数(概要的说明)

    :param name:名字
    :type name:str
    :param age: 年龄
    :type age:int
    :param gender: 性别
    :type :str
    :return:
    :rtype: None
    """
    print(name, age, gender)


class MyTest:
    """
    自定义的类
    """

    def get(self,url,data,params):
        """

        :param url:
        :param data:
        :param params:
        :return:
        """